<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <!-- templates/login.html -->
    <form method="post">
<!--        {% csrf_token %}-->
        <input type="text" name="account" placeholder="账号" required>
        <input type="password" name="password" placeholder="密码" required>
        {% if error %}
        <div class="error">{{ error }}</div>
        {% endif %}
        <button type="submit">登录</button>
    </form>

</body>
</html>